@model IEnumerable<Campus.Entities.Escuela>
@{
    ViewBag.Title = "Escuela";
}
<h2>
    Escuelas</h2>
<div class="">
    <table class="table table-bordered table-striped">
        <thead>
            <tr>
                <th class="actions">
                </th>
                <th>
                    Nombre
                </th>
                
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model)
            {
                <tr>
                    
                    <td>
                        <div class="btn-group">
                            <a href="@Url.Action("Details", new { id = item.EscuelaId })" class="btn btn-small"><i class="icon-search"></i> Ver</a>
                            <a href="@Url.Action("Edit", new { id = item.EscuelaId })" class="btn btn-small"><i class="icon-pencil"></i> Editar</a>
                            <a href="@Url.Action("Delete", new { id = item.EscuelaId })" class="btn btn-small"><i class="icon-remove"></i> Borrar</a>
                            @*Html.ActionLink("Editar", "Edit", new { id = item.EscuelaId }, new { @class = "btn btn-small" })
                            @Html.ActionLink("Detalles", "Details", new { id = item.EscuelaId }, new { @class = "btn btn-small" })
                            @Html.ActionLink("Borrar", "Delete", new { id = item.EscuelaId }, new { @class = "btn btn-small" }) *@
                        </div>
                    </td>
                    <td>
                        @item.Nombre
                    </td>
                </tr>
            }
        </tbody>
    </table>
       
    <p>
        @Html.ActionLink("Crear Nuevo", "Create", null, new { @class = "btn" })
    </p>
</div>
